<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>03-line-height_03</title>
    <style>
        div {
            background-color: #ff0;
            width: 400px;
            height: 200px;
            line-height: 50px;
        }

        span {
            background-color: #f00;
            display: inline-block;
            width: 300px;
            height: 70px;
        }
    </style>
</head>
<body>

<div>
    我是div <img src="images/test.jpg" alt=""><br>
    123 <span></span>
</div>
    

</body>
</html>